package com.tuling.learnmockito.dao;

import com.tuling.learnmockito.entity.User;
import org.springframework.stereotype.Repository;

/**
 * 用户仓库
 *
 * @author liuyu
 * @date 2023/6/9 14:58
 * @throws
 * @return
 */
@Repository
public interface UserRepository {
    /**
     * 根据逐渐获取id
     *
     * @param id
     * @return com.tuling.learnmockito.entity.User
     * @throws
     * @author liuyu
     * @date 2023/6/9 14:57
     */
    User findUserById(Long id);

}